package ElectricProject;

public class TclFactory implements ElectricFactory{
    @Override
    public AirConditioner createAirConditioner() {
        TclAirConditioner tclAirConditioner = new TclAirConditioner();
        System.out.println("生产了一台TCL空调");
        return tclAirConditioner;
    }

    @Override
    public Television createTelevision() {
        TclTelevision tclTelevision = new TclTelevision();
        System.out.println("生产了一台TCL电视机");
        return tclTelevision;
    }
}
